# mac make file for raylib
# Important: Put your libraylib.a in a folder called "lib"
# Important: Make sure to put your .h files from raylib in the project folder.

CFLAGS = -I. -Llib
LIBS = -lraylib -framework OpenGL -framework Cocoa -framework IOKit -framework CoreFoundation -framework CoreVideo
MAIN=main.cpp

# run by typing './game' in the terminal
ray:
	g++ -std=c++11 -g $(MAIN) -o game $(CFLAGS) $(LIBS)
